package com.itheima.String;

import java.util.Scanner;

public class Demo09Replace {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入:");
        String s = sc.nextLine();

        String s1 = s.replace("TMD", "***");
        String s2 = s1.replace("SB", "**");
        System.out.println(s2);
    }
}
